home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3726 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  795 b 

  1. Path: news.eecs.nwu.edu!chanc
  2. From: chanc@eecs.nwu.edu (Chuck Chan)
  3. Newsgroups: comp.lang.c
  4. Subject: communicating between different processes
  5. Date: 30 Jan 1996 21:06:14 GMT
  6. Organization: EE/CS Department, Northwestern University, Evanston, IL.
  7. Sender: chanc@eecs.nwu.edu
  8. Distribution: usa
  9. Message-ID: <4em187$sbj@news.eecs.nwu.edu>
  10. NNTP-Posting-Host: elohim.eecs.nwu.edu
  11.  
  12. I have a process running under unix which is written in C (a.out).  I want
  13. to start another process which is also written in C (b.out).  How do I
  14. send information (character strings) from b.out to a.out?
  15.  
  16. I presume I can write the information from b.out to a file and have a.out
  17. read it back in through an interrupt.  Is there anyway I can do this
  18. without using file io (say, with popen?)
  19.  
  20. thanks for any help in advance
  21.  
  22.